<?php
//设置运行模式
//define('RUNNING_MODE', 'dev');
include '../Common/Init.php';

//当前项目目录名
define('CURR_PROJECT_NAME','school');

//项目常量
define('DS',        DIRECTORY_SEPARATOR);
define('ROOT_PATH', dirname(__FILE__) . DS);

define('CONTROLLER_PATH', ROOT_PATH . 'controller' . DS);
define('MODEL_PATH', ROOT_PATH . 'model' . DS);
define('MODULE_PATH', ROOT_PATH . 'module' . DS);
define('TEMPLATE_PATH', ROOT_PATH . 'template' . DS);
define('THEME_PATH', ROOT_PATH . 'theme' . DS);

define('SITE_URL',getHttpHost() . '/' .CURR_PROJECT_NAME . '/');

// AJAX RETURN CODE
//成功
define('AJ_RET_SUCC',   200);
//失败
define('AJ_RET_FAIL',   201);
//其他状态
define('AJ_RET_FORB',   202);
//……
//未登录状态
define('AJ_RET_NOLOGIN',299);